<template>
	<view class="warp " style="background-color: #FFFFFF;margin-left: 50%;transform: translateX(-50%);">
		<view style="width: 100%;margin-top: 100rpx;">
			<mphtml style="height: 100%;padding: 140rpx 0;" :content="data"></mphtml>
		</view>

	</view>
</template>

<script>
	import {
		getAgreement
	} from '../../../api/api.js'
	import mphtml from '../../../compontents/mp-html/mp-html.vue'
	export default {
		components: {
			mphtml
		},
		data() {
			return {
				data: ""
			}
		},
		created() {
			getAgreement().then(res => {
				this.data = res.msg
				// console.log('富文本', this.data)
			})
		},
	}
</script>

<style scoped>

</style>
